import React, { Component } from 'react'
import PropTypes from 'prop-types';
import Wrap from '@/app/Hoc/Wrap'

class Detail extends Component {

    static propTypes = {
        id: PropTypes.string
    }

    render() {
        const {id} = this.props
        return (
            <Wrap>
                <h2 className="title">文章{id}</h2>
                <p>文章{id}的详细内容！</p>
            </Wrap>
        ) 
    }
}

export default Detail